<?
include('../controller/handler.php');

$hd = new Handler();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<?
	/****************
	 * HEAD MODULE
	 ***************/
	include('../module/head.inc.php');
	?>

	<title><?echo $hd->getTitle();?> - How To</title>
	
</head>

<body>
<?
/****************
 * HEADER MODULE
 ***************/
include('../module/header.inc.php');
?>
<div id="container">
	<h1>What should I do?</h1>
	<p class="justify">Tag freely yourself by simply sending twits to Twitwords via Twitter. No registration is needed, 
	the only thing you need is a Twitter account.</p>
	<div id="howto">
		<ol>
			<li>Create a Twitter account, if you ain't own it yet</li>
			<li>Follow <a href="http://twitter.com/twitwords" target="_blank">Twitwords</a></li>
			<li>Enter a message in Twitter like:
				<p class="example">@twitwords anything you want</p>
				You can also insert more tags in the same message using commas (,) as separators:
				<p class="example">@twitwords student, tennis player, musician, ...</p>
				Optionally you can assign a priority to tags, choosing 
				a score from 1 to 3 and wrapping it in square brackets: 
				<p class="example">@twitwords [1] student</p>
				In multi-tags message, priorities can be assigned to any tag you want, just
				remember that Twitwords sets priority 2 for tags with unassigned score:
				<p class="example">@twitwords [1] student, tennis player, [3] musician</p>
				In every case don't forget the <em>space</em> after <em>@twitwords</em></li>
			<li>Check out your brand:new tag on Twitwords</li>
		</ol>
	</div>
	
	<div id="credits"><?echo $hd->getCredits();?> ~ <a href="<?echo $base_url;?>docs">Docs</a></div>
</div>
<div id="footer">
	<div id="nav">
		{ matteo.maggioni [at] mail.polimi [dot] it }
	</div>
	<?
	/****************
	 * FOOTER MODULE
	 ***************/
	include('../module/footer.inc.php');
	?>
</div>

<?include('../module/analytics.inc.php');?>
</body>
</html>
